package com.base.util.javautils.observer;

/**
 * Created by gj on 16-1-24.
 */
public abstract class AbstractObserverMessage<T extends Enum> {
    private T msgType;

    protected AbstractObserverMessage next;

    public AbstractObserverMessage(T msgType) {
        this.msgType = msgType;
    }

    public T getMsgType() {
        return msgType;
    }

    public void setMsgType(T msgType) {
        this.msgType = msgType;
    }

    public abstract AbstractObserverMessage copy();
}
